package com.chuangke.school.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.chuangke.common.annotation.Entity;
import com.chuangke.framework.model.BillModel;

import java.math.BigDecimal;
import java.util.List;

@Entity
public class School extends BillModel {

    private String id;
    private String name;
    private String date ;
    /**
     * 部门：帮助
     */
    private String deptId ;
    /**
     * 业务类型：下拉掩码；0:运行管理;1:教学科研;2:其他;
     */
    private String bisType ;

    /**
     * 备注：长文本
     */
    private String remarks;

    /**
     * 数值：建设费用
     */
    private BigDecimal constructionCost;

    @Entity(entityClass = Teacher.class)
    @TableField(exist=false)
    private List<Teacher> teachers ;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Teacher> getTeachers() {
        return teachers;
    }

    public void setTeachers(List<Teacher> teachers) {
        this.teachers = teachers;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getBisType() {
        return bisType;
    }

    public void setBisType(String bisType) {
        this.bisType = bisType;
    }

    @Override
    public String getRemarks() {
        return remarks;
    }

    @Override
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public BigDecimal getConstructionCost() {
        return constructionCost;
    }

    public void setConstructionCost(BigDecimal constructionCost) {
        this.constructionCost = constructionCost;
    }
}
